home *** CD-ROM | disk | FTP | other *** search
- From comp.sources.misc Thu Sep 29 00:36:33 1994
- Path: uniol!zib-berlin.de!news.belwue.de!news.dfn.de!Germany.EU.net!EU.net!uunet!sparky!not-for-mail
- From: jpeg-info@uunet.uu.net (Independent JPEG Group)
- Newsgroups: comp.sources.misc
- Subject: v44i098: jpeg - JPEG image compression, Part01/27
- Followup-To: comp.sources.d
- Date: 26 Sep 1994 16:13:31 -0500
- Organization: Independent JPEG Group
- Lines: 1556
- Sender: kent@sparky.sterling.com
- Approved: kent@sparky.sterling.com
- Message-ID: <csm-v44i098=jpeg.161317@sparky.sterling.com>
- NNTP-Posting-Host: sparky.sterling.com
- Keywords: JPEG, image compression
- X-Md4-Signature: c89975bb92623a934ecf73c78eb0bb50
-
- Submitted-by: jpeg-info@uunet.uu.net (Independent JPEG Group)
- Posting-number: Volume 44, Issue 98
- Archive-name: jpeg/part01
- Environment: UNIX, VMS, MS-DOS, Mac, Amiga, Atari, Cray
- Supersedes: jpeg: Volume 34, Issue 55-72
-
- This package contains C software to implement JPEG image compression and
- decompression. JPEG is a standardized compression method for full-color
- and gray-scale images. JPEG is intended for "real-world" scenes; cartoons
- and other non-realistic images are not its strong suit. JPEG is lossy,
- meaning that the output image is not identical to the input image.
- The user can trade off output image quality against compressed file size by
- adjusting a compression parameter.
-
- The IJG code includes a reusable JPEG compression/decompression library,
- plus sample applications "cjpeg" and "djpeg", which perform conversion
- between JPEG JFIF format and image files in PPM/PGM (PBMPLUS), GIF, BMP,
- Utah RLE, and Targa formats. Two small applications "wrjpgcom" and
- "rdjpgcom" insert and extract textual comments in JFIF files.
- The package is highly portable; it has been used successfully on many
- machines ranging from Apple IIs to Crays.
-
- This version 5 supersedes version 4, which was posted in comp.sources.misc
- volume 34. Important user-level improvements over version 4 include:
-
- * Automatic configuration simplifies installation for most Unix systems.
-
- * A range of speed vs. image quality tradeoffs are supported.
- This includes resizing of an image during decompression: scaling down
- by a factor of 1/2, 1/4, or 1/8 is handled very efficiently.
-
- * New programs rdjpgcom and wrjpgcom allow insertion and extraction
- of text comments in a JPEG file.
-
- * cjpeg/djpeg support BMP file format.
-
- The application programmer's interface to the library has changed completely.
- Notable improvements for the programmer include:
-
- * We have eliminated the use of callback routines for handling the
- uncompressed image data. The application now sees the library as a
- set of routines that it calls to read or write image data on a
- scanline-by-scanline basis.
-
- * The application image data is represented in a conventional interleaved-
- pixel format, rather than as a separate array for each color channel.
- This can save a copying step in many programs.
-
- * The handling of compressed data has been cleaned up: the application can
- supply routines to source or sink the compressed data.
-
- * All static state has been eliminated from the library, so that multiple
- instances of compression or decompression can be active concurrently.
-
- * JPEG abbreviated datastream formats are supported, ie, quantization and
- Huffman tables can be stored separately from the image data.
-
- * And not only that, but the documentation of the library has improved
- considerably!
-
- We are releasing this software for both noncommercial and commercial use.
- Companies are welcome to use it as the basis for JPEG-related products.
- We do not ask a royalty, although we do ask for an acknowledgement in
- product literature (see the README file in the distribution for details).
- We hope to make this software industrial-quality --- although, as with
- anything that's free, we offer no warranty and accept no liability.
-
- Please direct any questions about this software to jpeg-info@uunet.uu.net.
-
- Dr. Thomas G. Lane
- organizer, Independent JPEG Group
-